home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4429 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  928 b 

  1. Path: comp.vuw.ac.nz!welcom!ed.tissink
  2. From: ed.tissink@welcom.gen.nz (Ed Tissink)
  3. Newsgroups: comp.lang.c++
  4. Subject: Minimizing Windows
  5. Date: Tue, 30 Jan 1996 08:19:29 GMT
  6. Message-ID: <96013022402735247@welcom.gen.nz>
  7. Organization: WELCOM BBS
  8. Distribution: world
  9.  
  10. Using Turbo C++ 4.5 with OWL 2.5 I am trying to write a program which,
  11. upon clicking OK in a dialog box, minimizes the main application window,
  12. but have had very little success in doing so.
  13.  
  14. Generating, displaying and closing the dialog box is no problem but I am
  15. unable to tell the application to minimize itself.  I have experimented
  16. with 'Show(SW_MINIMIZE)' and 'ShowWindow(SW_MINIMIZE)' (and a variety of
  17. other options) but even though when the command is executed a WM_SIZE
  18. message generated, the window remains on the screen in it's original
  19. size, and the command appears to have been completely ignored.
  20.  
  21. Any help or ideas on this are greatly appreciated.
  22.